Integrand size = 41, antiderivative size = 235 \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {1}{16} a^3 (23 A+26 B+30 C) x+\frac {a^3 (34 A+38 B+45 C) \sin (c+d x)}{15 d}+\frac {a^3 (23 A+26 B+30 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {a^3 (73 A+86 B+90 C) \cos ^2(c+d x) \sin (c+d x)}{120 d}+\frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {(31 A+42 B+30 C) \cos ^3(c+d x) \left (a^3+a^3 \sec (c+d x)\right ) \sin (c+d x)}{120 d} \]
[Out]
Time = 0.68 (sec) , antiderivative size = 235, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used = {4171, 4102, 4081, 3872, 2715, 8, 2717} \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {a^3 (34 A+38 B+45 C) \sin (c+d x)}{15 d}+\frac {a^3 (73 A+86 B+90 C) \sin (c+d x) \cos ^2(c+d x)}{120 d}+\frac {a^3 (23 A+26 B+30 C) \sin (c+d x) \cos (c+d x)}{16 d}+\frac {(31 A+42 B+30 C) \sin (c+d x) \cos ^3(c+d x) \left (a^3 \sec (c+d x)+a^3\right )}{120 d}+\frac {1}{16} a^3 x (23 A+26 B+30 C)+\frac {(A+2 B) \sin (c+d x) \cos ^4(c+d x) \left (a^2 \sec (c+d x)+a^2\right )^2}{10 a d}+\frac {A \sin (c+d x) \cos ^5(c+d x) (a \sec (c+d x)+a)^3}{6 d} \]
[In]
[Out]
Rule 8
Rule 2715
Rule 2717
Rule 3872
Rule 4081
Rule 4102
Rule 4171
Rubi steps \begin{align*} \text {integral}& = \frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {\int \cos ^5(c+d x) (a+a \sec (c+d x))^3 (3 a (A+2 B)+2 a (A+3 C) \sec (c+d x)) \, dx}{6 a} \\ & = \frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {\int \cos ^4(c+d x) (a+a \sec (c+d x))^2 \left (a^2 (31 A+42 B+30 C)+2 a^2 (8 A+6 B+15 C) \sec (c+d x)\right ) \, dx}{30 a} \\ & = \frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {(31 A+42 B+30 C) \cos ^3(c+d x) \left (a^3+a^3 \sec (c+d x)\right ) \sin (c+d x)}{120 d}+\frac {\int \cos ^3(c+d x) (a+a \sec (c+d x)) \left (3 a^3 (73 A+86 B+90 C)+6 a^3 (21 A+22 B+30 C) \sec (c+d x)\right ) \, dx}{120 a} \\ & = \frac {a^3 (73 A+86 B+90 C) \cos ^2(c+d x) \sin (c+d x)}{120 d}+\frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {(31 A+42 B+30 C) \cos ^3(c+d x) \left (a^3+a^3 \sec (c+d x)\right ) \sin (c+d x)}{120 d}-\frac {\int \cos ^2(c+d x) \left (-45 a^4 (23 A+26 B+30 C)-24 a^4 (34 A+38 B+45 C) \sec (c+d x)\right ) \, dx}{360 a} \\ & = \frac {a^3 (73 A+86 B+90 C) \cos ^2(c+d x) \sin (c+d x)}{120 d}+\frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {(31 A+42 B+30 C) \cos ^3(c+d x) \left (a^3+a^3 \sec (c+d x)\right ) \sin (c+d x)}{120 d}+\frac {1}{8} \left (a^3 (23 A+26 B+30 C)\right ) \int \cos ^2(c+d x) \, dx+\frac {1}{15} \left (a^3 (34 A+38 B+45 C)\right ) \int \cos (c+d x) \, dx \\ & = \frac {a^3 (34 A+38 B+45 C) \sin (c+d x)}{15 d}+\frac {a^3 (23 A+26 B+30 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {a^3 (73 A+86 B+90 C) \cos ^2(c+d x) \sin (c+d x)}{120 d}+\frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {(31 A+42 B+30 C) \cos ^3(c+d x) \left (a^3+a^3 \sec (c+d x)\right ) \sin (c+d x)}{120 d}+\frac {1}{16} \left (a^3 (23 A+26 B+30 C)\right ) \int 1 \, dx \\ & = \frac {1}{16} a^3 (23 A+26 B+30 C) x+\frac {a^3 (34 A+38 B+45 C) \sin (c+d x)}{15 d}+\frac {a^3 (23 A+26 B+30 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {a^3 (73 A+86 B+90 C) \cos ^2(c+d x) \sin (c+d x)}{120 d}+\frac {A \cos ^5(c+d x) (a+a \sec (c+d x))^3 \sin (c+d x)}{6 d}+\frac {(A+2 B) \cos ^4(c+d x) \left (a^2+a^2 \sec (c+d x)\right )^2 \sin (c+d x)}{10 a d}+\frac {(31 A+42 B+30 C) \cos ^3(c+d x) \left (a^3+a^3 \sec (c+d x)\right ) \sin (c+d x)}{120 d} \\ \end{align*}
Time = 0.71 (sec) , antiderivative size = 170, normalized size of antiderivative = 0.72 \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {a^3 (900 A c+1560 B c+1380 A d x+1560 B d x+1800 C d x+120 (21 A+23 B+26 C) \sin (c+d x)+15 (63 A+64 (B+C)) \sin (2 (c+d x))+380 A \sin (3 (c+d x))+340 B \sin (3 (c+d x))+240 C \sin (3 (c+d x))+135 A \sin (4 (c+d x))+90 B \sin (4 (c+d x))+30 C \sin (4 (c+d x))+36 A \sin (5 (c+d x))+12 B \sin (5 (c+d x))+5 A \sin (6 (c+d x)))}{960 d} \]
[In]
[Out]
Time = 0.50 (sec) , antiderivative size = 126, normalized size of antiderivative = 0.54
method | result | size |
parallelrisch | \(\frac {19 a^{3} \left (\frac {3 \left (\frac {63 A}{4}+16 B +16 C \right ) \sin \left (2 d x +2 c \right )}{19}+\left (A +\frac {17 B}{19}+\frac {12 C}{19}\right ) \sin \left (3 d x +3 c \right )+\frac {3 \left (\frac {9 A}{2}+3 B +C \right ) \sin \left (4 d x +4 c \right )}{38}+\frac {3 \left (3 A +B \right ) \sin \left (5 d x +5 c \right )}{95}+\frac {A \sin \left (6 d x +6 c \right )}{76}+\frac {6 \left (21 A +23 B +26 C \right ) \sin \left (d x +c \right )}{19}+\frac {69 x d \left (A +\frac {26 B}{23}+\frac {30 C}{23}\right )}{19}\right )}{48 d}\) | \(126\) |
risch | \(\frac {23 a^{3} A x}{16}+\frac {13 a^{3} B x}{8}+\frac {15 a^{3} x C}{8}+\frac {21 a^{3} A \sin \left (d x +c \right )}{8 d}+\frac {23 a^{3} B \sin \left (d x +c \right )}{8 d}+\frac {13 a^{3} C \sin \left (d x +c \right )}{4 d}+\frac {a^{3} A \sin \left (6 d x +6 c \right )}{192 d}+\frac {3 a^{3} A \sin \left (5 d x +5 c \right )}{80 d}+\frac {\sin \left (5 d x +5 c \right ) B \,a^{3}}{80 d}+\frac {9 a^{3} A \sin \left (4 d x +4 c \right )}{64 d}+\frac {3 \sin \left (4 d x +4 c \right ) B \,a^{3}}{32 d}+\frac {\sin \left (4 d x +4 c \right ) a^{3} C}{32 d}+\frac {19 a^{3} A \sin \left (3 d x +3 c \right )}{48 d}+\frac {17 \sin \left (3 d x +3 c \right ) B \,a^{3}}{48 d}+\frac {\sin \left (3 d x +3 c \right ) a^{3} C}{4 d}+\frac {63 \sin \left (2 d x +2 c \right ) a^{3} A}{64 d}+\frac {\sin \left (2 d x +2 c \right ) B \,a^{3}}{d}+\frac {\sin \left (2 d x +2 c \right ) a^{3} C}{d}\) | \(282\) |
derivativedivides | \(\frac {\frac {a^{3} A \left (2+\cos \left (d x +c \right )^{2}\right ) \sin \left (d x +c \right )}{3}+B \,a^{3} \left (\frac {\sin \left (d x +c \right ) \cos \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )+a^{3} C \sin \left (d x +c \right )+3 a^{3} A \left (\frac {\left (\cos \left (d x +c \right )^{3}+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )+B \,a^{3} \left (2+\cos \left (d x +c \right )^{2}\right ) \sin \left (d x +c \right )+3 a^{3} C \left (\frac {\sin \left (d x +c \right ) \cos \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )+\frac {3 a^{3} A \left (\frac {8}{3}+\cos \left (d x +c \right )^{4}+\frac {4 \cos \left (d x +c \right )^{2}}{3}\right ) \sin \left (d x +c \right )}{5}+3 B \,a^{3} \left (\frac {\left (\cos \left (d x +c \right )^{3}+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )+a^{3} C \left (2+\cos \left (d x +c \right )^{2}\right ) \sin \left (d x +c \right )+a^{3} A \left (\frac {\left (\cos \left (d x +c \right )^{5}+\frac {5 \cos \left (d x +c \right )^{3}}{4}+\frac {15 \cos \left (d x +c \right )}{8}\right ) \sin \left (d x +c \right )}{6}+\frac {5 d x}{16}+\frac {5 c}{16}\right )+\frac {B \,a^{3} \left (\frac {8}{3}+\cos \left (d x +c \right )^{4}+\frac {4 \cos \left (d x +c \right )^{2}}{3}\right ) \sin \left (d x +c \right )}{5}+a^{3} C \left (\frac {\left (\cos \left (d x +c \right )^{3}+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d}\) | \(364\) |
default | \(\frac {\frac {a^{3} A \left (2+\cos \left (d x +c \right )^{2}\right ) \sin \left (d x +c \right )}{3}+B \,a^{3} \left (\frac {\sin \left (d x +c \right ) \cos \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )+a^{3} C \sin \left (d x +c \right )+3 a^{3} A \left (\frac {\left (\cos \left (d x +c \right )^{3}+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )+B \,a^{3} \left (2+\cos \left (d x +c \right )^{2}\right ) \sin \left (d x +c \right )+3 a^{3} C \left (\frac {\sin \left (d x +c \right ) \cos \left (d x +c \right )}{2}+\frac {d x}{2}+\frac {c}{2}\right )+\frac {3 a^{3} A \left (\frac {8}{3}+\cos \left (d x +c \right )^{4}+\frac {4 \cos \left (d x +c \right )^{2}}{3}\right ) \sin \left (d x +c \right )}{5}+3 B \,a^{3} \left (\frac {\left (\cos \left (d x +c \right )^{3}+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )+a^{3} C \left (2+\cos \left (d x +c \right )^{2}\right ) \sin \left (d x +c \right )+a^{3} A \left (\frac {\left (\cos \left (d x +c \right )^{5}+\frac {5 \cos \left (d x +c \right )^{3}}{4}+\frac {15 \cos \left (d x +c \right )}{8}\right ) \sin \left (d x +c \right )}{6}+\frac {5 d x}{16}+\frac {5 c}{16}\right )+\frac {B \,a^{3} \left (\frac {8}{3}+\cos \left (d x +c \right )^{4}+\frac {4 \cos \left (d x +c \right )^{2}}{3}\right ) \sin \left (d x +c \right )}{5}+a^{3} C \left (\frac {\left (\cos \left (d x +c \right )^{3}+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d}\) | \(364\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 145, normalized size of antiderivative = 0.62 \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {15 \, {\left (23 \, A + 26 \, B + 30 \, C\right )} a^{3} d x + {\left (40 \, A a^{3} \cos \left (d x + c\right )^{5} + 48 \, {\left (3 \, A + B\right )} a^{3} \cos \left (d x + c\right )^{4} + 10 \, {\left (23 \, A + 18 \, B + 6 \, C\right )} a^{3} \cos \left (d x + c\right )^{3} + 16 \, {\left (17 \, A + 19 \, B + 15 \, C\right )} a^{3} \cos \left (d x + c\right )^{2} + 15 \, {\left (23 \, A + 26 \, B + 30 \, C\right )} a^{3} \cos \left (d x + c\right ) + 16 \, {\left (34 \, A + 38 \, B + 45 \, C\right )} a^{3}\right )} \sin \left (d x + c\right )}{240 \, d} \]
[In]
[Out]
Timed out. \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 354, normalized size of antiderivative = 1.51 \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {192 \, {\left (3 \, \sin \left (d x + c\right )^{5} - 10 \, \sin \left (d x + c\right )^{3} + 15 \, \sin \left (d x + c\right )\right )} A a^{3} - 5 \, {\left (4 \, \sin \left (2 \, d x + 2 \, c\right )^{3} - 60 \, d x - 60 \, c - 9 \, \sin \left (4 \, d x + 4 \, c\right ) - 48 \, \sin \left (2 \, d x + 2 \, c\right )\right )} A a^{3} - 320 \, {\left (\sin \left (d x + c\right )^{3} - 3 \, \sin \left (d x + c\right )\right )} A a^{3} + 90 \, {\left (12 \, d x + 12 \, c + \sin \left (4 \, d x + 4 \, c\right ) + 8 \, \sin \left (2 \, d x + 2 \, c\right )\right )} A a^{3} + 64 \, {\left (3 \, \sin \left (d x + c\right )^{5} - 10 \, \sin \left (d x + c\right )^{3} + 15 \, \sin \left (d x + c\right )\right )} B a^{3} - 960 \, {\left (\sin \left (d x + c\right )^{3} - 3 \, \sin \left (d x + c\right )\right )} B a^{3} + 90 \, {\left (12 \, d x + 12 \, c + \sin \left (4 \, d x + 4 \, c\right ) + 8 \, \sin \left (2 \, d x + 2 \, c\right )\right )} B a^{3} + 240 \, {\left (2 \, d x + 2 \, c + \sin \left (2 \, d x + 2 \, c\right )\right )} B a^{3} - 960 \, {\left (\sin \left (d x + c\right )^{3} - 3 \, \sin \left (d x + c\right )\right )} C a^{3} + 30 \, {\left (12 \, d x + 12 \, c + \sin \left (4 \, d x + 4 \, c\right ) + 8 \, \sin \left (2 \, d x + 2 \, c\right )\right )} C a^{3} + 720 \, {\left (2 \, d x + 2 \, c + \sin \left (2 \, d x + 2 \, c\right )\right )} C a^{3} + 960 \, C a^{3} \sin \left (d x + c\right )}{960 \, d} \]
[In]
[Out]
none
Time = 0.38 (sec) , antiderivative size = 350, normalized size of antiderivative = 1.49 \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {15 \, {\left (23 \, A a^{3} + 26 \, B a^{3} + 30 \, C a^{3}\right )} {\left (d x + c\right )} + \frac {2 \, {\left (345 \, A a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{11} + 390 \, B a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{11} + 450 \, C a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{11} + 1955 \, A a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{9} + 2210 \, B a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{9} + 2550 \, C a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{9} + 4554 \, A a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} + 5148 \, B a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} + 5940 \, C a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} + 5814 \, A a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 5988 \, B a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 7500 \, C a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 3165 \, A a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 4190 \, B a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 5130 \, C a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 1575 \, A a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1530 \, B a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1470 \, C a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{{\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + 1\right )}^{6}}}{240 \, d} \]
[In]
[Out]
Time = 19.60 (sec) , antiderivative size = 333, normalized size of antiderivative = 1.42 \[ \int \cos ^6(c+d x) (a+a \sec (c+d x))^3 \left (A+B \sec (c+d x)+C \sec ^2(c+d x)\right ) \, dx=\frac {\left (\frac {23\,A\,a^3}{8}+\frac {13\,B\,a^3}{4}+\frac {15\,C\,a^3}{4}\right )\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{11}+\left (\frac {391\,A\,a^3}{24}+\frac {221\,B\,a^3}{12}+\frac {85\,C\,a^3}{4}\right )\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^9+\left (\frac {759\,A\,a^3}{20}+\frac {429\,B\,a^3}{10}+\frac {99\,C\,a^3}{2}\right )\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^7+\left (\frac {969\,A\,a^3}{20}+\frac {499\,B\,a^3}{10}+\frac {125\,C\,a^3}{2}\right )\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^5+\left (\frac {211\,A\,a^3}{8}+\frac {419\,B\,a^3}{12}+\frac {171\,C\,a^3}{4}\right )\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^3+\left (\frac {105\,A\,a^3}{8}+\frac {51\,B\,a^3}{4}+\frac {49\,C\,a^3}{4}\right )\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}{d\,\left ({\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{12}+6\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{10}+15\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^8+20\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^6+15\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^4+6\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2+1\right )}+\frac {a^3\,\mathrm {atan}\left (\frac {a^3\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\left (23\,A+26\,B+30\,C\right )}{8\,\left (\frac {23\,A\,a^3}{8}+\frac {13\,B\,a^3}{4}+\frac {15\,C\,a^3}{4}\right )}\right )\,\left (23\,A+26\,B+30\,C\right )}{8\,d} \]
[In]
[Out]